import request from '@/utils/request'
export function listPageTeam(param) {
    return request({
      url: '/api/tbill/team/listPage',
      method: 'get',
      params: param
    })
  }

  export function list() {
    return request({
      url: '/api/tbill/team/list',
      method: 'post'
    })
  }

  export function addTeam(data) {
    return request({
      url: '/api/tbill/team/add',
      method: 'post',
      data
    })
  }

  export function updateTeamById(data) {
    return request({
      url: '/api/tbill/team/updateById',
      method: 'post',
      data
    })
  }
  export function getTeamByName(param) {
    return request({
      url: '/api/tbill/team/getTeamByName',
      method: 'post',
      params: param
    })
  }